# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'D:\Dropbox\Trading2013\KunTrading\KUI\KDatabaseUI\KDatabaseWidget.ui'
#
# Created: Tue Aug 13 15:41:55 2013
#      by: PyQt4 UI code generator 4.9.6
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    def _fromUtf8(s):
        return s

try:
    _encoding = QtGui.QApplication.UnicodeUTF8
    def _translate(context, text, disambig):
        return QtGui.QApplication.translate(context, text, disambig, _encoding)
except AttributeError:
    def _translate(context, text, disambig):
        return QtGui.QApplication.translate(context, text, disambig)

class Ui_KDatabaseWidget(object):
    def setupUi(self, KDatabaseWidget):
        KDatabaseWidget.setObjectName(_fromUtf8("KDatabaseWidget"))
        KDatabaseWidget.setWindowModality(QtCore.Qt.WindowModal)
        KDatabaseWidget.resize(808, 519)
        self.verticalLayout_3 = QtGui.QVBoxLayout(KDatabaseWidget)
        self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.groupBox_2 = QtGui.QGroupBox(KDatabaseWidget)
        self.groupBox_2.setObjectName(_fromUtf8("groupBox_2"))
        self.verticalLayout = QtGui.QVBoxLayout(self.groupBox_2)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.listWidgetProvider = QtGui.QListWidget(self.groupBox_2)
        self.listWidgetProvider.setObjectName(_fromUtf8("listWidgetProvider"))
        item = QtGui.QListWidgetItem()
        self.listWidgetProvider.addItem(item)
        item = QtGui.QListWidgetItem()
        self.listWidgetProvider.addItem(item)
        item = QtGui.QListWidgetItem()
        self.listWidgetProvider.addItem(item)
        item = QtGui.QListWidgetItem()
        self.listWidgetProvider.addItem(item)
        self.verticalLayout.addWidget(self.listWidgetProvider)
        spacerItem = QtGui.QSpacerItem(20, 153, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout.addItem(spacerItem)
        self.horizontalLayout_2.addWidget(self.groupBox_2)
        self.groupBox_3 = QtGui.QGroupBox(KDatabaseWidget)
        self.groupBox_3.setObjectName(_fromUtf8("groupBox_3"))
        self.verticalLayout_2 = QtGui.QVBoxLayout(self.groupBox_3)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.listWidgetStatus = QtGui.QListWidget(self.groupBox_3)
        self.listWidgetStatus.setObjectName(_fromUtf8("listWidgetStatus"))
        self.verticalLayout_2.addWidget(self.listWidgetStatus)
        self.horizontalLayout_2.addWidget(self.groupBox_3)
        self.verticalLayout_3.addLayout(self.horizontalLayout_2)
        self.groupBox_4 = QtGui.QGroupBox(KDatabaseWidget)
        self.groupBox_4.setObjectName(_fromUtf8("groupBox_4"))
        self.horizontalLayout_4 = QtGui.QHBoxLayout(self.groupBox_4)
        self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4"))
        self.BtnUpdate = QtGui.QPushButton(self.groupBox_4)
        self.BtnUpdate.setObjectName(_fromUtf8("BtnUpdate"))
        self.horizontalLayout_4.addWidget(self.BtnUpdate)
        spacerItem1 = QtGui.QSpacerItem(686, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_4.addItem(spacerItem1)
        self.verticalLayout_3.addWidget(self.groupBox_4)
        self.groupBox = QtGui.QGroupBox(KDatabaseWidget)
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.horizontalLayout_3 = QtGui.QHBoxLayout(self.groupBox)
        self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.BtnCleanupDataBase = QtGui.QPushButton(self.groupBox)
        self.BtnCleanupDataBase.setObjectName(_fromUtf8("BtnCleanupDataBase"))
        self.horizontalLayout.addWidget(self.BtnCleanupDataBase)
        self.BtnImport = QtGui.QPushButton(self.groupBox)
        self.BtnImport.setObjectName(_fromUtf8("BtnImport"))
        self.horizontalLayout.addWidget(self.BtnImport)
        self.BtnStopImport = QtGui.QPushButton(self.groupBox)
        self.BtnStopImport.setObjectName(_fromUtf8("BtnStopImport"))
        self.horizontalLayout.addWidget(self.BtnStopImport)
        self.BtnConsolidate = QtGui.QPushButton(self.groupBox)
        self.BtnConsolidate.setObjectName(_fromUtf8("BtnConsolidate"))
        self.horizontalLayout.addWidget(self.BtnConsolidate)
        self.BtnAutomaticImport = QtGui.QPushButton(self.groupBox)
        self.BtnAutomaticImport.setObjectName(_fromUtf8("BtnAutomaticImport"))
        self.horizontalLayout.addWidget(self.BtnAutomaticImport)
        spacerItem2 = QtGui.QSpacerItem(268, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem2)
        self.horizontalLayout_3.addLayout(self.horizontalLayout)
        self.verticalLayout_3.addWidget(self.groupBox)

        self.retranslateUi(KDatabaseWidget)
        QtCore.QMetaObject.connectSlotsByName(KDatabaseWidget)

    def retranslateUi(self, KDatabaseWidget):
        KDatabaseWidget.setWindowTitle(_translate("KDatabaseWidget", "KDatabaseWidget", None))
        self.groupBox_2.setTitle(_translate("KDatabaseWidget", "Data Source", None))
        __sortingEnabled = self.listWidgetProvider.isSortingEnabled()
        self.listWidgetProvider.setSortingEnabled(False)
        item = self.listWidgetProvider.item(0)
        item.setText(_translate("KDatabaseWidget", "EODData_Daily", None))
        item = self.listWidgetProvider.item(1)
        item.setText(_translate("KDatabaseWidget", "YahooData_Daily", None))
        item = self.listWidgetProvider.item(2)
        item.setText(_translate("KDatabaseWidget", "Stooq_Daily", None))
        item = self.listWidgetProvider.item(3)
        item.setText(_translate("KDatabaseWidget", "ActiveTick", None))
        self.listWidgetProvider.setSortingEnabled(__sortingEnabled)
        self.groupBox_3.setTitle(_translate("KDatabaseWidget", "Message", None))
        self.groupBox_4.setTitle(_translate("KDatabaseWidget", "Update Recent Data", None))
        self.BtnUpdate.setText(_translate("KDatabaseWidget", "Update", None))
        self.groupBox.setTitle(_translate("KDatabaseWidget", "Import Historical Data", None))
        self.BtnCleanupDataBase.setToolTip(_translate("KDatabaseWidget", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"</style></head><body style=\" font-family:\'MS Shell Dlg 2\'; font-size:8.25pt; font-weight:400; font-style:normal;\">\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:8pt;\">Step#1: Clean up out dated database data.</span></p></body></html>", None))
        self.BtnCleanupDataBase.setText(_translate("KDatabaseWidget", "Clean Up", None))
        self.BtnImport.setToolTip(_translate("KDatabaseWidget", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"</style></head><body style=\" font-family:\'MS Shell Dlg 2\'; font-size:8.25pt; font-weight:400; font-style:normal;\">\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:8pt;\">Step#2: Import Each Data Soures you are interested in.</span></p></body></html>", None))
        self.BtnImport.setText(_translate("KDatabaseWidget", "Import", None))
        self.BtnStopImport.setToolTip(_translate("KDatabaseWidget", "Step #2: Stop Importing.", None))
        self.BtnStopImport.setText(_translate("KDatabaseWidget", "Stop", None))
        self.BtnConsolidate.setToolTip(_translate("KDatabaseWidget", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"</style></head><body style=\" font-family:\'MS Shell Dlg 2\'; font-size:8.25pt; font-weight:400; font-style:normal;\">\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:8pt;\">Step#3: Consolidate All Data Soure into same Database.</span></p></body></html>", None))
        self.BtnConsolidate.setText(_translate("KDatabaseWidget", "Consolidate", None))
        self.BtnAutomaticImport.setToolTip(_translate("KDatabaseWidget", "Automatically Import All Day with One Click", None))
        self.BtnAutomaticImport.setText(_translate("KDatabaseWidget", "One Click", None))

